package com.bright.ghj.common.util;

import com.bright.ghj.common.exception.ParameterException;
import org.springframework.util.Assert;

/**
 * @Author txf
 * @Date 2022/12/10 14:37
 * @Description 断言工具类
 */
public abstract class AssertUtil extends Assert {

    public static void notNull(Object object, String message) {
        if (object == null) {
            throw new ParameterException(message);
        }

    }

}
